
uniform vec3		lightOrigin;


void main (void){

	// Project the vertex if needed, and transform into clip space
	if (gl_Vertex.w == 1.0)
		gl_Position = ftransform();
	else
		gl_Position = gl_ModelViewProjectionMatrix * vec4(gl_Vertex.xyz - lightOrigin, 0.0);
}
